package com.zqweb.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zqweb.common.utils.PageUtils;
import com.zqweb.gulimall.product.entity.SkuInfoEntity;
import com.zqweb.gulimall.product.vo.SkuInfoItemVo;
import com.zqweb.gulimall.product.vo.SkuItemSaleAttrVo;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;

/**
 * sku信息
 *
 * @author zq
 * @email zq@gmail.com
 * @date 2021-11-26 18:38:53
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSkuInfo(SkuInfoEntity skuInfoEntity);

    PageUtils queryPageWithConditions(Map<String, Object> params);

    List<SkuInfoEntity> up(Long spuId);

    SkuInfoItemVo getItemDetailsBySkuId(Long skuId) throws ExecutionException, InterruptedException;

}

